import SwiftUI

/// 入驻标签
struct EntryLabelView: View {
    var body: some View {
        HStack(spacing: 2.0) {
            Image(.iconCertified)
            Text("已入驻")
                .font(.alibabaPuHuiTi(size: 11.0, weight: .medium))
                .foregroundStyle(.fs16B521)
        }
        .padding(.vertical, 2.0)
        .padding(.leading, 2.0)
        .padding(.trailing, 4.0)
        .background(
            Capsule()
                .fill(Color.fs16B521.opacity(0.1))
        )
    }
}

#Preview {
    EntryLabelView()
}
